const {override,addWebpackAlias,useEslintRc,addDecoratorsLegacy,fixBabelImports} = require('customize-cra')
const path = require('path')

module.exports = override(
    addWebpackAlias({
        '@': path.resolve(__dirname, 'src/'),
    }),
    useEslintRc(),

    addDecoratorsLegacy(),

    fixBabelImports('import', {
        libraryName: 'antd-mobile',
        style: 'css',
    })
)